package com.lemon.boot.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * @author 李猛
 * @datetime 2024/2/14 13:08
 * @description 类对象
 */
@Setter
@Getter
@ApiModel(value = "左侧菜单视图对象")
public class LeftMenuVO {
    @ApiModelProperty(value = "菜单ID")
    private Long id;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "菜单排序")
    private Integer seq;

    @ApiModelProperty(value = "树形菜单ID链")
    private String treeLinkId;

    @ApiModelProperty(value = "面包屑（树形菜单名称链）")
    private String[] bread;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "子菜单集合")
    private List<LeftMenuVO> children;
}
